package com.atguigu.juc.t4;

public class test {
    public static void main(String[] args) {
        Apple apple = new Apple();
        for (int i = 1; i < 11; i++) {
            new Thread(() -> {
                apple.getApple();
            }, i + "号小朋友").start();
        }
    }
}
